package com.zl.classroommanagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zl.common.annotation.Excel;
import com.zl.common.core.domain.BaseEntity;

/**
 * 开始点名对象 startcall
 *
 * @author zl
 * @date 2022-04-23
 */
public class Startcall extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 教师 */
    @Excel(name = "教师")
    private String teacher;

    /** 工号 */
    @Excel(name = "工号")
    private Long teachercard;

    /** 班级 */
    @Excel(name = "班级")
    private String classs;

    /** 二维码 */
    @Excel(name = "二维码")
    private byte[] qrimg;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qrData;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setTeacher(String teacher)
    {
        this.teacher = teacher;
    }

    public String getTeacher()
    {
        return teacher;
    }
    public void setTeachercard(Long teachercard)
    {
        this.teachercard = teachercard;
    }

    public Long getTeachercard()
    {
        return teachercard;
    }
    public void setClass(String classs)
    {
        this.classs = classs;
    }

    public String getClasss()
    {
        return classs;
    }
    public void setQrimg(byte[] qrimg)
    {
        this.qrimg = qrimg;
    }

    public byte[] getQrimg()
    {
        return qrimg;
    }
    public void setQrData(Date qrData)
    {
        this.qrData = qrData;
    }

    public Date getQrData()
    {
        return qrData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacher", getTeacher())
            .append("teachercard", getTeachercard())
            .append("class", getClass())
            .append("qrimg", getQrimg())
            .append("qrData", getQrData())
            .toString();
    }
}
